#ifndef _CRT_DL_H_
#define _CRT_DL_H_

#include <crt_core.hpp>

#ifdef __cplusplus
extern "C" {
#endif

#ifndef RTLD_LAZY
#define RTLD_LAZY 1
#endif

HMODULE dllopen(basic_tchar* path, int flag);
void* dllsym(HMODULE handler, char* sym);
int dllclose(HMODULE handler);

#ifdef __cplusplus
}
#endif

#endif
